/*
 * UserFacadeLocal.java
 *
 * Created on 7 de Julho de 2007, 11:29
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package br.com.ecs.persistence.facade;

import br.com.ecs.persistence.entity.SystemUser;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Danielle
 */
@Local
public interface UserFacadeLocal {
    void create(SystemUser user);

    void edit(SystemUser user);

    void destroy(SystemUser user);

    SystemUser find(Object pk);
    
    SystemUser findByName(String username);

    List findAll();

   SystemUser findSystemUser(String login, String password);

}
